#ifndef CONTROL_H
#define CONTROL_H

#include "Node.h"
#include <string>

class Control : public Node {

 public:

  Control(NodeContainer* parent, bool isOutput);
  void process(llvm::IRBuilder<> *builder);
  void setValue(llvm::Value *value);
  virtual bool isIO() { return true; }

 protected:
  llvm::Value* val;
  bool isOutput;

};

#endif
